<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ page import="sealte.hvpms.pojo.Admin" %>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()+ path + "/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<base href="<%=basePath%>"/>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="cache-control" content="no-cache">
<title>仓鼠网上投票系统HVPMS</title>
<link href="css/splitPage.css" rel="stylesheet" type="text/css" />
<script src="js/jquery-1.4.4.min.js" type="text/javascript"></script>
<script type="text/javascript" src="js/splitpage.usercreate.admin.js"></script>
</head>
<body>
<%
	Admin admin = (Admin)session.getAttribute("admin");
	if(admin!=null){
%>
<div id="num2">
	<h2><img src="images/user_home.png">&nbsp;注册用户管理--维护</h2>
</div>
<div id="area_search">
	账号：<input type="text" id="area_search_name"/>
	<input type="button" value="查询" onclick='searchA()'/>
	<input type="button" value="列出全部" onclick="searchB()"/>
	&nbsp;&nbsp;&nbsp;&nbsp;每页显示:<input type="text" size="1" value="10" id="lineSize"/>
	&nbsp;&nbsp;&nbsp;&nbsp;总记录数:<span id="recorders"></span>&nbsp;&nbsp;[<span id="currentPage"></span>/<span id="pageSize"></span>]
</div>

<div id="area_showTable">
	<table id="area_showTable_table">
		<thead>
		<tr>
			<th width="10%">序号</th><th>账号</th><th width="30%">邮箱</th><th width="10%">注册时间</th><th width="10%">操作</th>
		</tr>
		</thead>
		<tbody id="area_showTable_tbody">
		</tbody>
	</table>
</div>
<div id="area_control">
	<table id="bottom_table">
	<tr>
	<td id="bottom_table1">
		<input type="button" value="全选" id="selectAll"/>
		<input type="button" value="反选" id="fanall"/>
		<input type="button" value="取消" id="deselectall"/>
		<input type="button" value="批量删除" onclick="doBatchDelete()"/>
	</td>
	<td id="bottom_table2">
		<input type="button" value="首页" onclick="getFirst()" id="getFirst"/>
		<input type="button" value="上一页" onclick="getPrev()" id="getPrev"/>
		<input type="button" value="下一页" onclick="getNext()" id="getNext"/>
		<input type="button" value="尾页" onclick="getLast()" id="getLast"/>
		&nbsp;&nbsp;跳转到
		<select onchange="getSomePage()" id="sp_page">
		</select>页
	</td>
	</tr>
	</table>
</div>
<%	
	}else{
		out.println("谢绝跨路径访问！");
	}
%>
</body>
</html>